package org.dromara.business.modules.intro.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.business.modules.intro.domain.BuIntro;
import org.dromara.common.core.validate.EditGroup;
import org.dromara.common.mybatis.core.domain.BaseEntity;

/**
 * 服务中心业务对象 bu_intro
 *
 * @author ckk
 * @date 2025-11-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BuIntro.class, reverseConvertGenerate = false)
public class BuIntroBo extends BaseEntity {

    /**
     * 主键
     */
    @NotNull(message = "主键不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 标题
     */
    private String title;

    /**
     * 副标题
     */
    private String subTitle;

    /**
     * 宣传图片
     */
    private String pic;

    /**
     * 内容
     */
    private String content;


}
